//
//  MyPch.swift
//  新浪微博
//
//  Created by 陈飞宇 on 2020/10/10.
//

import UIKit

let GWIDTH = UIScreen.main.bounds.size.width

let GHEIGHT = UIScreen.main.bounds.size.height


let iPhoneXR:Bool = __CGSizeEqualToSize(CGSize(width: 828, height: 1792), UIScreen.main.currentMode?.size ?? CGSize(width: 0, height: 0));

// iPhoneX
let iPhoneX:Bool = __CGSizeEqualToSize(CGSize(width: 1125, height: 2436), UIScreen.main.currentMode?.size ?? CGSize(width: 0, height: 0));

// iPhoneXSMAX
let iPhoneXSMAX:Bool = __CGSizeEqualToSize(CGSize(width: 1242, height: 2688), UIScreen.main.currentMode?.size ?? CGSize(width: 0, height: 0));

let is_X_Seris:Bool =  iPhoneXR || iPhoneXSMAX || iPhoneX;


